package com.dimension.pojo;

import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

public class Comments {
    @ApiModelProperty(value = "评论id")
    private Integer comid;

    @ApiModelProperty(value = "追踪用户id")
    private Integer userid;

    @ApiModelProperty(value = "商品id")
    private Integer goodsid;

    @ApiModelProperty(value = "评论图片")
    private String commentsimg;

    @ApiModelProperty(value = "评论内容")
    private String commentcontent;

    @ApiModelProperty(value = "追踪楼主")
    private Integer userid1;

    @ApiModelProperty(value = "评论时间")
    private Date createtime;

    public Comments(Integer comid, Integer userid, Integer goodsid, String commentsimg, String commentcontent, Integer userid1, Date createtime) {
        this.comid = comid;
        this.userid = userid;
        this.goodsid = goodsid;
        this.commentsimg = commentsimg;
        this.commentcontent = commentcontent;
        this.userid1 = userid1;
        this.createtime = createtime;
    }

    public Comments() {
        super();
    }

    public Integer getComid() {
        return comid;
    }

    public void setComid(Integer comid) {
        this.comid = comid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public String getCommentsimg() {
        return commentsimg;
    }

    public void setCommentsimg(String commentsimg) {
        this.commentsimg = commentsimg == null ? null : commentsimg.trim();
    }

    public String getCommentcontent() {
        return commentcontent;
    }

    public void setCommentcontent(String commentcontent) {
        this.commentcontent = commentcontent == null ? null : commentcontent.trim();
    }

    public Integer getUserid1() {
        return userid1;
    }

    public void setUserid1(Integer userid1) {
        this.userid1 = userid1;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}